package com.atguigu.yygh.hosp.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ClassName: ScheduleFeignClient
 * Package: com.atguigu.yygh.hosp.client
 * Description:
 *
 * @Author: cqk
 * @Create: 2023/10/1 - 16:44
 * @Version: v1.0
 */
@FeignClient(value = "service-hosp")
public interface ScheduleFeignClient {

    @GetMapping("/user/hosp/schedule/{scheduleId}")
    public ScheduleOrderVo getScheduleVoById(@PathVariable(value = "scheduleId") String scheduleId);
}
